package com.dycx.system.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 操作权限
 *
 * @author wzb
 * @description
 * @date 2021-03-28
 */

@Data
public class PermissionVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer id;

    /**
     * 父id
     */
    private Integer parentId;

    /**
     * 权限ID
     */
    private String permissionId;

    /**
     * 权限标题
     */
    private String title;

    /**
     * 路由
     */
    private List<String> router;
    private Integer sort;
    private Boolean status;

    /**
     * 子权限
     */
    private List<PermissionVO> children;

    /**
     * 是否有子类
     */
    private Boolean hasChildren;
}
